package com.tosit.driverschool.service;

import com.tosit.driverschool.common.entity.ProblemSet;
import com.tosit.driverschool.common.entity.SetType;
import com.tosit.driverschool.common.entity.Subject;

import java.util.List;
import java.util.Set;

public interface ProblemSetService {
    /**
     *
     * @param subject 科目一 or 科目四
     * @param vehicleType C1C2C3 OR
     * @return
     */
    public Set<SetType> findAllType(String subject, String vehicleType);

    public List<ProblemSet> findAll(Integer typeId);

    public Integer delete(Integer id);

    public List<Subject> find(Integer setId);

    public void add(ProblemSet problemSet);
}
